public class demo {
    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.creatList();
        myLinkedList.display();
        System.out.println(myLinkedList.size());
        myLinkedList.addFirst(666);
        myLinkedList.display();
        myLinkedList.addLast(666);
        myLinkedList.display();
        System.out.println(myLinkedList.contains(666));
        System.out.println(myLinkedList.contains(33));
    }
}
